AM_CFLAGS =\
    -Wall\
    -g

AM_CPPFLAGS = -I /usr/include/glib-2.0 -I /usr/lib/glib-2.0/include \
    -I /usr/include/sigc++-2.0 -I /usr/lib/sigc++-2.0/include

bin_PROGRAMS = \
	moros-server

moros_server_SOURCES = server.cc \
	../general/util.cc ../general/communicate.cc ../general/channel.cc ../general/import.cc ../general/buffer.cc \
	../general/log.cc ../general/arguments.cc ../general/misc.cc ../general/hashtable.cc \
	action_bonus.cc action_skill.cc army.cc category.cc contributers.cc guild.cc job.cc party.cc plan.cc rule.cc skill_level.cc stat.cc \
    action.cc aging.cc  background.cc chapter.cc culture.cc has_special.cc material.cc person.cc race.cc special.cc status.cc \
    action_level.cc area.cc background_level.cc contractors.cc culture_part.cc item.cc members.cc person_items.cc relations.cc skill.cc stat_amount.cc unit.cc

moros_server_LDADD = $(SERVER_LIBS) \
    /usr/lib/libgnutls.so /usr/lib/libgnutls-extra.so \
    /usr/lib/libglib-2.0.so \
    /usr/lib/libsigc-2.0.so
